<script setup>

const arr = [
  {
    icon: '/static/images/zhaosheng.png',
    title: '招生能力测试',
    to: '/pages/index/zs',
  }, {
    icon: '/static/images/我的活动.png',
    title: '我的活动',
    to: '/pages/index/ac',
  }, {
    icon: '/static/images/我的组员.png',
    title: '我的组员',
    to: '/pages/index/teamer',
  }, {
    icon: '/static/images/报名审批.png',
    title: '报名审批',
    to: '/pages/index/boamingshenpi',
  }, {
    icon: '/static/images/招宣资料.png',
    title: '招宣资料',
    to: '/pages/index/information',
  }
]
const zs=(to)=>{
  uni.navigateTo({
    url:to
  })
}
</script>

<template>
  <view class="main">
    <view class="df" v-for="(item,index) in arr":key="index">
      <view class="cd dfl" @click="zs(item.to)">
        <view>
          <image class="icon" :src="item.icon"></image>
        </view>
        <view>
          <text class="a">{{item.title}}</text>
          <view>
            <image class="jiantou" src="/static/images/jiantou.png"></image>
          </view>
        </view>
      </view>
    </view>
    <view class="d1">
      <text class="wen">移动端仅显示最新动态，更多内容查看PC端</text>
    </view>
  </view>
</template>
<style scoped>
.main {
  background: #F1F5FF;
  height: 100%;
  width: 100%;
  background-size: 100% 100%;
}

.df {
  display: flex;
  justify-content: center;
}

.dfl{
  display: flex;
  justify-content: start;
  align-items: center;
}
.a{
  width: 96px;
  height: 22px;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  letter-spacing: 0;
}
.cd {
  width: 343px;
  height: 76px;
  background: #FFFFFF;
  box-shadow: 0 3px 6px 0 #c9cfd980;
  border-radius: 8px;
  margin-top: 20px;
}
.icon{
  width: 38px;
  height: 38px;
  margin: 10px 20px;
}
.jiantou{
  width: 10px;
  height: 10px;
  display: flex;
}
.wen {
  width: 233px;
  height: 17px;
  font-weight: 400;
  font-size: 12px;
  color: #939393;
  letter-spacing: 0;
  text-align: center;
}
.d1{
  justify-content: center;
  display: flex;
}
</style>